﻿using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ZQNB.Common.FileDbs
{
    public interface IFileDbHelper
    {
        IList<T> Read<T>();
        void Save<T>(IList<T> list);

        IList<T> Read<T>(string path);
        void Save<T>(string path, IList<T> list);
    }
}
